import { Http } from '@/common/api'

export const listUrl = '/srm/taxRate/page'

// 税率-新增
export const apiTaxRateAdd = async (data) => Http.post('/srm/taxRate/add', data)
// 税率-修改
export const apiTaxRateUpdate = async (data) => Http.put('/srm/taxRate/update', data)
// 税率-删除
export const apiTaxRateDelete = async (id) => Http.delete(`/srm/taxRate/delete?id=${id}`)
// 税率-启用
export const apiTaxRateEnable = async (ids) => Http.put('/srm/taxRate/batch/enable', ids)
// 税率-禁用
export const apiTaxRateDisable = async (ids) => Http.put('/srm/taxRate/batch/disable', ids)
